<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/jquery-1.7.2.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            alert("window.onload");
        }
        $(function () {
            alert("文档就绪函数");
        });
    </script>
</head>
<body>
<img src="img/wm.jpg" alt="">
</body>
</html>